package cn.tedu.hello;

public class Test3 {
	public static void main(String[] args) {
		Zi zi=new Zi();
		zi.show();
	}
}
class Fu{
	String name="jack";
}
class Zi extends Fu{
	int age=10;
	String name="xie";
	public void show() {
		int age=20;
		System.out.println(age);
		System.out.println(this.age);
		System.out.println(name);
		System.out.println(super.name);
		//System.out.println(new Fu().name);
		/*Fu d=new Fu();
				System.out.println(d.name);*/
	}
}